<?php

function spec_places_block_configure($delta = '')
{

    $form = array();

    if ($delta == 'block_places') {

        $form['spec_places_default_category'] = array(
            '#type' => 'textfield',
            '#title' => 'Категория по умолчанию (ID)',
            '#size' => 10,
            '#default_value' => variable_get('spec_places_default_category'),
        );
    }

    return $form;

}

function spec_places_block_save($delta = '', $edit = array())
{

    if ($delta == 'block_places') {
        variable_set('spec_places_default_category', $edit['spec_places_default_category']);
    }

}